/* 司机回库单
 */

import { postRequest, getRequest, getDownload } from '@/lib/axios'

export const driverReturnOrderApi = {
  // 列表
  queryDriverReturnOrderList: (param) => {
    return getRequest('/driver_return_order/list', param)
  },
  // 详情
  driverReturnOrderOrder: (param) => {
    return getRequest('/driver_return_order/detail', param)
  },
  // 打印
  driverReturnOrderPrintDetail: (param) => {
    return getRequest('/driver_return_order/print_detail', param)
  },
  // 签收入库
  driverReturnOrderSign_in: (param) => {
    return postRequest('/driver_return_order/sign_in', param)
  },
  //导出
  exportXlsx: (param) => {
    return getDownload('/driver_return_order/exportXlsx', param)
  }
}
